package baiqitun.stupro.common.exception.enums.support;

import baiqitun.stupro.common.exception.enums.ExceptionEnumParent;

/**
 * 资源未找到的异常枚举
 * @author kedaji
 */
public enum  NotFoundExceptionEnum implements ExceptionEnumParent {

    /**
     *
     */
    FILE_NOT_FOUND("","文件不存在"),
    CAPTCHA_NOT_FOUND("", "验证码不存在"),
    USER_NOT_FOUND("", "用户不存在"),
    ROLE_NOT_FOUND("", "角色不存在"),
    DEPART_NOT_FOUND("", "部门不存在"),
    STUDENT_INFO_NOT_FOUND("", "学生信息不存在"),
    PERMISSION_NOT_FOUND("", "许可不存在"),
    RELATION_USER_ROLE_NOT_FOUND("", "用户-角色关系不存在"),
    RELATION_DEPART_USER_NOT_FOUND("", "部门-用户关系不存在"),
    RELATION_PROJECT_USER_NOT_FOUND("","项目-用户关系不存在"),
    SUBJECT_NOT_FOUND("", "科目不存在"),
    PROJECT_NOT_FOUND("","项目不存在"),
    TASK_NOT_FOUND("","任务不存在"),

    ;
    private String code;
    private String msg;

    NotFoundExceptionEnum(String code, String msg){
        this.code = code;
        this.msg = msg;
    }
    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
